package net.atomarrow.test.domain;

import java.util.Date;

import net.atomarrow.db.annotation.FieldType;
import net.atomarrow.db.enums.Type;
import net.atomarrow.domains.Domain;

public class TbInfo extends Domain{

	private int id;//
	@FieldType(type=Type.VARCHAR,length=20)
	private String content;//
	
	@FieldType(type=Type.TEXT)
	private String user;//
	@FieldType(type=Type.DATE)
	private Date logDate;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getUser() {
		return user;
	}
	public void setUser(String user) {
		this.user = user;
	}
	public Date getLogDate() {
		return logDate;
	}
	public void setLogDate(Date logDate) {
		this.logDate = logDate;
	}
	
	public static void main(String[] args) {
		new TbInfo().generateTable();
	}
	
}
